package club.dataresources.mapper;

import club.dataresources.entity.BarberOrdered;
import club.dataresources.entity.BarberOrderedExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BarberOrderedMapper {
    long countByExample(BarberOrderedExample example);

    int deleteByExample(BarberOrderedExample example);

    int deleteByPrimaryKey(Integer barberId);

    int insert(BarberOrdered record);

    int insertSelective(BarberOrdered record);

    List<BarberOrdered> selectByExample(BarberOrderedExample example);

    BarberOrdered selectByPrimaryKey(Integer barberId);

    int updateByExampleSelective(@Param("record") BarberOrdered record, @Param("example") BarberOrderedExample example);

    int updateByExample(@Param("record") BarberOrdered record, @Param("example") BarberOrderedExample example);

    int updateByPrimaryKeySelective(BarberOrdered record);

    int updateByPrimaryKey(BarberOrdered record);
}